package File;

import java.io.File;

public class demo06 {
    public static void main(String[] args) {
        File file=new File("./zero");
        File newfile=new File("./one");
        boolean a=file.renameTo(newfile);
        System.out.println(a);

    }
}
